<?php
<object class="Close_WO" name="Close_WO" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Close_Workorder_Create</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Height">687</property>
  <property name="IsMaster">0</property>
  <property name="Name">Close_WO</property>
  <property name="UseAjax">1</property>
  <property name="Width">950</property>
  <property name="OnCreate">Close_WOCreate</property>
  <property name="jsOnLoad">Close_WOJSLoad</property>
  <object class="Edit" name="edOther" >
    <property name="Color">#808080</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">121</property>
    <property name="Name">edOther</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ReadOnly">1</property>
    <property name="Top">185</property>
    <property name="Width">161</property>
  </object>
  <object class="ComboBox" name="cmbEmp" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">121</property>
    <property name="Name">cmbEmp</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">185</property>
    <property name="Width">161</property>
  </object>
  <object class="ComboBox" name="cmbVendor" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">121</property>
    <property name="Name">cmbVendor</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">185</property>
    <property name="Width">161</property>
  </object>
  <object class="Image" name="Image1" >
    <property name="Border">0</property>
    <property name="Height">30</property>
    <property name="ImageSource">image/create_ws.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image1</property>
    <property name="Top">2</property>
    <property name="Width">950</property>
  </object>
  <object class="Label" name="lblCreationDate" >
    <property name="Caption">Creation Date:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">31</property>
    <property name="Name">lblCreationDate</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">100</property>
    <property name="Width">85</property>
  </object>
  <object class="DateTimePicker" name="dpCreationDate" >
    <property name="Caption">dpCreationDate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">20</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">121</property>
    <property name="Name">dpCreationDate</property>
    <property name="ParentFont">0</property>
    <property name="ShowsTime">0</property>
    <property name="Top">97</property>
    <property name="Width">161</property>
  </object>
  <object class="Label" name="lblCompletionDate" >
    <property name="Caption">Completion Date:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">15</property>
    <property name="Name">lblCompletionDate</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">129</property>
    <property name="Width">102</property>
  </object>
  <object class="DateTimePicker" name="dpCompletionDate" >
    <property name="Caption">dpCreationDate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">20</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">121</property>
    <property name="Name">dpCompletionDate</property>
    <property name="ParentFont">0</property>
    <property name="ShowsTime">0</property>
    <property name="Top">125</property>
    <property name="Width">161</property>
  </object>
  <object class="Label" name="lblOrderNo" >
    <property name="Caption">*Reference No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">31</property>
    <property name="Name">lblOrderNo</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">70</property>
    <property name="Width">86</property>
  </object>
  <object class="Edit" name="edOrderNo" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">121</property>
    <property name="Name">edOrderNo</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ReadOnly">1</property>
    <property name="TabOrder">1</property>
    <property name="Top">65</property>
    <property name="Width">161</property>
    <property name="jsOnBlur">edOrderNoJSBlur</property>
  </object>
  <object class="Label" name="lblDriver" >
    <property name="Caption">Driver:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">10</property>
    <property name="Left">330</property>
    <property name="Name">lblDriver</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">129</property>
    <property name="Width">38</property>
  </object>
  <object class="Label" name="lblOdometer" >
    <property name="Alignment">agRight</property>
    <property name="Caption">*Odometer:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">296</property>
    <property name="Name">lblOdometer</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">100</property>
    <property name="Width">72</property>
  </object>
  <object class="Edit" name="edOdometer" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">374</property>
    <property name="Name">edOdometer</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">98</property>
    <property name="Width">110</property>
    <property name="jsOnBlur">edOdometerJSBlur</property>
    <property name="jsOnKeyUp">edOdometerJSKeyUp</property>
  </object>
  <object class="ComboBox" name="cmbDriver" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">374</property>
    <property name="Name">cmbDriver</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">126</property>
    <property name="Width">289</property>
  </object>
  <object class="Label" name="lblServiced" >
    <property name="Caption">Vendor:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">69</property>
    <property name="Name">lblServiced</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">158</property>
    <property name="Width">44</property>
  </object>
  <object class="ComboBox" name="cmbServiced" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">233</property>
    <property name="Name">cmbServiced</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">5</property>
    <property name="Top">38</property>
    <property name="Visible">0</property>
    <property name="Width">161</property>
  </object>
  <object class="Label" name="lblAcct" >
    <property name="Caption">Account:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">320</property>
    <property name="Name">lblAcct</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">158</property>
    <property name="Width">50</property>
  </object>
  <object class="ComboBox" name="cmbAcct" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">374</property>
    <property name="Name">cmbAcct</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">7</property>
    <property name="Top">154</property>
    <property name="Width">289</property>
  </object>
  <object class="Label" name="lblDescription" >
    <property name="Caption">Type:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">335</property>
    <property name="Name">lblDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">189</property>
    <property name="Width">33</property>
  </object>
  <object class="ComboBox" name="cmbDescription" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">374</property>
    <property name="Name">cmbDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">9</property>
    <property name="Top">185</property>
    <property name="Width">289</property>
  </object>
  <object class="Label" name="lblFullDescription" >
    <property name="Caption">Description:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">45</property>
    <property name="Name">lblFullDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">216</property>
    <property name="Width">71</property>
  </object>
  <object class="Memo" name="memoFullDescription" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">40</property>
    <property name="Left">121</property>
    <property name="Lines">a:0:{}</property>
    <property name="Name">memoFullDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">11</property>
    <property name="Top">216</property>
    <property name="Width">542</property>
  </object>
  <object class="HiddenField" name="hiddenLine" >
    <property name="Height">18</property>
    <property name="Left">710</property>
    <property name="Name">hiddenLine</property>
    <property name="Top">56</property>
    <property name="Width">100</property>
  </object>
  <object class="Label" name="lblMaint1" >
    <property name="Caption">Remarks:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">57</property>
    <property name="Name">lblMaint1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">268</property>
    <property name="Width">55</property>
  </object>
  <object class="JTGroupBox" name="jtStatus" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Caption">Status</property>
    <property name="Height">37</property>
    <property name="Left">656</property>
    <property name="Name">jtStatus</property>
    <property name="SiteTheme"></property>
    <property name="Top">4</property>
    <property name="Visible">0</property>
    <property name="Width">210</property>
    <object class="CheckBox" name="chkWarr" >
      <property name="Caption">Warr</property>
      <property name="Color">#FFFFFF</property>
      <property name="Height">17</property>
      <property name="Left">6</property>
      <property name="Name">chkWarr</property>
      <property name="ParentColor">0</property>
      <property name="TabOrder"></property>
      <property name="Top">12</property>
      <property name="Width">48</property>
    </object>
    <object class="CheckBox" name="chkRecall" >
      <property name="Caption">Back Job</property>
      <property name="Color">#FFFFFF</property>
      <property name="Height">17</property>
      <property name="Left">55</property>
      <property name="Name">chkRecall</property>
      <property name="ParentColor">0</property>
      <property name="TabOrder"></property>
      <property name="Top">12</property>
      <property name="Width">71</property>
    </object>
    <object class="CheckBox" name="chkComp" >
      <property name="Caption">Complete</property>
      <property name="Color">#FFFFFF</property>
      <property name="Height">17</property>
      <property name="Left">127</property>
      <property name="Name">chkComp</property>
      <property name="ParentColor">0</property>
      <property name="TabOrder"></property>
      <property name="Top">12</property>
      <property name="Width">73</property>
    </object>
  </object>
  <object class="Image" name="imgBack" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Cursor">crPointer</property>
    <property name="Height">45</property>
    <property name="ImageSource">image/btn_back.png</property>
    <property name="Left">1024</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">imgBack</property>
    <property name="Visible">0</property>
    <property name="Width">105</property>
    <property name="OnClick">imgBackClick</property>
    <property name="jsOnMouseOut">imgBackJSMouseOut</property>
    <property name="jsOnMouseOver">imgBackJSMouseOver</property>
  </object>
  <object class="JTGroupBox" name="JTGroupBox1" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Caption">Charges / Billing</property>
    <property name="Height">140</property>
    <property name="Left">711</property>
    <property name="Name">JTGroupBox1</property>
    <property name="SiteTheme"></property>
    <property name="Top">129</property>
    <property name="Width">210</property>
    <object class="Label" name="lblLabor" >
      <property name="Caption">Labor</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">67</property>
      <property name="Name">lblLabor</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">22</property>
      <property name="Width">31</property>
    </object>
    <object class="Edit" name="edLabor" >
      <property name="Color">#707070</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#000000</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">104</property>
      <property name="Name">edLabor</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="ReadOnly">1</property>
      <property name="TabOrder">14</property>
      <property name="Top">18</property>
      <property name="Width">63</property>
    </object>
    <object class="Label" name="lblMisc" >
      <property name="Caption">Misc</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">72</property>
      <property name="Name">lblMisc</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">64</property>
      <property name="Width">27</property>
    </object>
    <object class="Label" name="lblParts" >
      <property name="Caption">Parts</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">72</property>
      <property name="Name">lblParts</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">43</property>
      <property name="Width">26</property>
    </object>
    <object class="Edit" name="edParts" >
      <property name="Color">#707070</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#000000</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">104</property>
      <property name="Name">edParts</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="ReadOnly">1</property>
      <property name="TabOrder"></property>
      <property name="Top">39</property>
      <property name="Width">63</property>
    </object>
    <object class="Edit" name="edDiscount" >
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">104</property>
      <property name="Name">edDiscount</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="TabOrder">15</property>
      <property name="Top">83</property>
      <property name="Width">63</property>
      <property name="jsOnKeyUp">edDiscountJSKeyUp</property>
    </object>
    <object class="Label" name="lblDiscount" >
      <property name="Caption">Discount</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">51</property>
      <property name="Name">lblDiscount</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">87</property>
      <property name="Width">48</property>
    </object>
    <object class="Edit" name="edTotal" >
      <property name="Color">#707070</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#000000</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">104</property>
      <property name="Name">edTotal</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="ReadOnly">1</property>
      <property name="TabOrder"></property>
      <property name="Top">108</property>
      <property name="Width">63</property>
    </object>
    <object class="Label" name="lblTotal" >
      <property name="Caption">Total</property>
      <property name="Color">#000000</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">13</property>
      <property name="Left">70</property>
      <property name="Name">lblTotal</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">112</property>
      <property name="Width">28</property>
    </object>
    <object class="Edit" name="edMisc" >
      <property name="Color">#707070</property>
      <property name="Font">
            <property name="Align">taRight</property>
            <property name="Color">#000000</property>
      </property>
      <property name="Height">21</property>
      <property name="Left">104</property>
      <property name="Name">edMisc</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="ReadOnly">1</property>
      <property name="TabOrder"></property>
      <property name="Top">60</property>
      <property name="Width">63</property>
    </object>
  </object>
  <object class="CheckBox" name="chkMisc" >
    <property name="Checked">1</property>
    <property name="Height">21</property>
    <property name="Left">785</property>
    <property name="Name">chkMisc</property>
    <property name="Top">288</property>
    <property name="Visible">0</property>
    <property name="Width">23</property>
    <property name="jsOnChange">chkMiscJSChange</property>
  </object>
  <object class="CheckBox" name="chkLabor" >
    <property name="Checked">1</property>
    <property name="Height">21</property>
    <property name="Left">736</property>
    <property name="Name">chkLabor</property>
    <property name="Top">288</property>
    <property name="Visible">0</property>
    <property name="Width">17</property>
    <property name="jsOnChange">chkLaborJSChange</property>
  </object>
  <object class="CheckBox" name="chkParts" >
    <property name="Checked">1</property>
    <property name="Height">21</property>
    <property name="Left">760</property>
    <property name="Name">chkParts</property>
    <property name="Top">288</property>
    <property name="Visible">0</property>
    <property name="Width">21</property>
    <property name="jsOnChange">chkPartsJSChange</property>
  </object>
  <object class="Memo" name="memoRemarks" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">42</property>
    <property name="Left">121</property>
    <property name="Lines">a:0:{}</property>
    <property name="MaxLength">255</property>
    <property name="Name">memoRemarks</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">12</property>
    <property name="Top">267</property>
    <property name="Width">542</property>
  </object>
  <object class="Upload" name="UploadPDF" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">752</property>
    <property name="Name">UploadPDF</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">13</property>
    <property name="TabStop"></property>
    <property name="Top">101</property>
    <property name="Width">141</property>
  </object>
  <object class="Button" name="btnShowAccount" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add emission account</property>
    <property name="Left">663</property>
    <property name="Name">btnShowAccount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">8</property>
    <property name="Top">154</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowAccountJSClick</property>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">710</property>
    <property name="Name">compid</property>
    <property name="Top">49</property>
    <property name="Width">100</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript1" >
    <property name="Code"><![CDATA[function AjaxAccount2(ac,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxAccount('woaccountajax.php','cmbAcct',compid);
  AjaxAccount('woaccountajax.php','listAccount',compid);

  }
  }
  var url='addwoaccountajax.php';
  url=url+&quot;?val=&quot;+ac;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">766</property>
    <property name="Name">JTJavaScript1</property>
    <property name="Top">56</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript2" >
    <property name="Code"><![CDATA[function AjaxAccount(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">766</property>
    <property name="Name">JTJavaScript2</property>
    <property name="Top">64</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript3" >
    <property name="Code"><![CDATA[function AjaxAccount3(ac,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxAccount('woaccountajax.php','cmbAcct',compid);
  AjaxAccount('woaccountajax.php','listAccount',compid);
  }
  }
  var url='delwoaccountajax.php';
  url=url+&quot;?val=&quot;+ac;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">766</property>
    <property name="Name">JTJavaScript3</property>
    <property name="Top">47</property>
    <property name="Width">150</property>
  </object>
  <object class="Button" name="btnShowServiced" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add service provider</property>
    <property name="Left">394</property>
    <property name="Name">btnShowServiced</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">6</property>
    <property name="Top">38</property>
    <property name="Visible">0</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowServicedJSClick</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript4" >
    <property name="Code"><![CDATA[function AjaxServiced2(sv,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxServiced('servicedajax.php','cmbServiced',compid);
  AjaxServiced('servicedajax.php','listServiced',compid);

  }
  }
  var url='addservicedajax.php';
  url=url+&quot;?val=&quot;+sv;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">577</property>
    <property name="Name">JTJavaScript4</property>
    <property name="Top">48</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript5" >
    <property name="Code"><![CDATA[function AjaxServiced(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">577</property>
    <property name="Name">JTJavaScript5</property>
    <property name="Top">56</property>
    <property name="Width">150</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript6" >
    <property name="Code"><![CDATA[function AjaxServiced3(sv,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxServiced('servicedajax.php','cmbServiced',compid);
  AjaxServiced('servicedajax.php','listServiced',compid);
  }
  }
  var url='delservicedajax.php';
  url=url+&quot;?val=&quot;+sv;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">577</property>
    <property name="Name">JTJavaScript6</property>
    <property name="Top">66</property>
    <property name="Width">150</property>
  </object>
  <object class="Button" name="btnShowDescription" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add workorder description</property>
    <property name="Left">663</property>
    <property name="Name">btnShowDescription</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">10</property>
    <property name="Top">185</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowDescriptionJSClick</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript7" >
    <property name="Code"><![CDATA[function AjaxDesc2(de,compid)
{ 
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxDesc('wodescriptionajax.php','cmbDescription',compid);
  AjaxDesc('wodescriptionajax.php','listDescription',compid);

  }
  }
  var url='addwodescriptionajax.php';
  url=url+&quot;?val=&quot;+de;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">828</property>
    <property name="Name">JTJavaScript7</property>
    <property name="Width">122</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript8" >
    <property name="Code"><![CDATA[function AjaxDesc(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">828</property>
    <property name="Name">JTJavaScript8</property>
    <property name="Top">8</property>
    <property name="Width">122</property>
  </object>
  <object class="JTJavaScript" name="JTJavaScript9" >
    <property name="Code"><![CDATA[function AjaxDesc3(de,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxDesc('wodescriptionajax.php','cmbDescription',compid);
  AjaxDesc('wodescriptionajax.php','listDescription',compid);
  }
  }
  var url='delwodescriptionajax.php';
  url=url+&quot;?val=&quot;+de;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">828</property>
    <property name="Name">JTJavaScript9</property>
    <property name="Top">19</property>
    <property name="Width">122</property>
  </object>
  <object class="Button" name="btnSubmit" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Submit</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">24</property>
    <property name="Name">btnSubmit</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">16</property>
    <property name="Top">631</property>
    <property name="Width">75</property>
    <property name="OnClick">btnSubmitClick</property>
  </object>
  <object class="Button" name="btnCancel" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">109</property>
    <property name="Name">btnCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">17</property>
    <property name="Top">631</property>
    <property name="Width">75</property>
    <property name="jsOnClick">btnCancelJSClick</property>
  </object>
  <object class="JTPageControl" name="JTPageControl1" >
    <property name="ActiveLayer">Labor</property>
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="Height">296</property>
    <property name="Left">24</property>
    <property name="Name">JTPageControl1</property>
    <property name="SiteTheme"></property>
    <property name="TabIndex">0</property>
    <property name="Tabs"><![CDATA[a:3:{i:0;a:3:{i:0;s:5:&quot;Labor&quot;;i:1;s:5:&quot;Labor&quot;;i:2;s:1:&quot;1&quot;;}i:1;a:3:{i:0;s:5:&quot;Parts&quot;;i:1;s:5:&quot;Parts&quot;;i:2;s:1:&quot;1&quot;;}i:2;a:3:{i:0;s:13:&quot;Miscellaneous&quot;;i:1;s:13:&quot;Miscellaneous&quot;;i:2;s:1:&quot;1&quot;;}}]]></property>
    <property name="Top">322</property>
    <property name="Width">906</property>
    <object class="JTIFrame" name="JTFrameLabor" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">226</property>
      <property name="Layer">Labor</property>
      <property name="Left">10</property>
      <property name="Name">JTFrameLabor</property>
      <property name="ShowBorder">0</property>
      <property name="SiteTheme"></property>
      <property name="Top">65</property>
      <property name="Width">881</property>
    </object>
    <object class="Button" name="btnAddLabor" >
      <property name="ButtonType">btNormal</property>
      <property name="Caption">Add Labor</property>
      <property name="Color">#000000</property>
      <property name="Cursor">crPointer</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">25</property>
      <property name="Layer">Labor</property>
      <property name="Left">789</property>
      <property name="Name">btnAddLabor</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">39</property>
      <property name="Width">102</property>
      <property name="jsOnClick">btnAddLaborJSClick</property>
    </object>
    <object class="JTIFrame" name="JTFrameParts" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">226</property>
      <property name="Layer">Parts</property>
      <property name="Left">10</property>
      <property name="Name">JTFrameParts</property>
      <property name="ShowBorder">0</property>
      <property name="SiteTheme"></property>
      <property name="Top">65</property>
      <property name="Width">878</property>
    </object>
    <object class="Button" name="btnParts" >
      <property name="ButtonType">btNormal</property>
      <property name="Caption">Add Part</property>
      <property name="Color">#000000</property>
      <property name="Cursor">crPointer</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">25</property>
      <property name="Layer">Parts</property>
      <property name="Left">786</property>
      <property name="Name">btnParts</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">39</property>
      <property name="Width">102</property>
      <property name="jsOnClick">btnPartsJSClick</property>
    </object>
    <object class="Button" name="btnMisc" >
      <property name="ButtonType">btNormal</property>
      <property name="Caption">Add Miscellaneous</property>
      <property name="Color">#000000</property>
      <property name="Cursor">crPointer</property>
      <property name="Font">
            <property name="Color">#FFFFFF</property>
      </property>
      <property name="Height">25</property>
      <property name="Layer">Miscellaneous</property>
      <property name="Left">776</property>
      <property name="Name">btnMisc</property>
      <property name="ParentColor">0</property>
      <property name="ParentFont">0</property>
      <property name="Top">39</property>
      <property name="Width">112</property>
      <property name="jsOnClick">btnMiscJSClick</property>
    </object>
    <object class="JTIFrame" name="JTFrameMisc" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">226</property>
      <property name="Layer">Miscellaneous</property>
      <property name="Left">9</property>
      <property name="Name">JTFrameMisc</property>
      <property name="ShowBorder">0</property>
      <property name="SiteTheme"></property>
      <property name="Top">65</property>
      <property name="Width">879</property>
    </object>
  </object>
  <object class="HiddenField" name="hiddenWO" >
    <property name="Height">18</property>
    <property name="Left">828</property>
    <property name="Name">hiddenWO</property>
    <property name="Top">76</property>
    <property name="Width">71</property>
  </object>
  <object class="JTJavaScript" name="JSAJAX" >
    <property name="Code"><![CDATA[var xmlhttp
function setWODetails()
{
	
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert (&quot;Your browser does not support AJAX!&quot;);
  return;
  }
var discount = document.getElementById('edDiscount').value;
var veh = document.getElementById('hiddenLine').value;
//var chkLabor = document.getElementById('chkLabor').checked;
//var chkParts = document.getElementById('chkParts').checked;
//var chkMisc = document.getElementById('chkMisc').checked;
//var tax = document.getElementById('edTax').value;
var misc = document.getElementById('edMisc').value;
var wo_id = document.getElementById('hiddenWO').value;


var chkLabor = 1;
var chkParts = 1;
var chkMisc = 1;
var tax = 0;
/*if(chkLabor==true)
{
	chkLabor=1;
}
else
{
	chkLabor=0;
}

if(chkParts==true)
{
	chkParts=1;
}
else
{
	chkParts=0;
}
if(chkMisc==true)
{
	chkMisc=1;
}
else
{
	chkMisc=0;
}
*/


var url=&quot;setWorkorderDetails.php&quot;;
url=url+&quot;?veh=&quot;+veh;
url=url+&quot;&amp;discount=&quot;+discount;
url=url+&quot;&amp;chkLabor=&quot;+chkLabor;
url=url+&quot;&amp;chkParts=&quot;+chkParts;
url=url+&quot;&amp;chkMisc=&quot;+chkMisc;
url=url+&quot;&amp;tax=&quot;+tax;
url=url+&quot;&amp;misc=&quot;+misc;
url=url+&quot;&amp;wo_id=&quot;+wo_id;
xmlhttp.onreadystatechange=stateChanged;
xmlhttp.open(&quot;GET&quot;,url,true);
xmlhttp.send(null);
}

function stateChanged()
{
if (xmlhttp.readyState==4)
  {
  var my_array = eval(xmlhttp.responseText);
  
  //var chkLabor = document.getElementById('chkLabor').checked;
  //var chkParts = document.getElementById('chkParts').checked;
  //var chkMisc = document.getElementById('chkMisc').checked;  
  var chkLabor = 1;
  var chkParts = 1;
  var chkMisc = 1;
  
  if(chkLabor==1)
  {
	  document.getElementById('edLabor').value = my_array[1];
  }
  if(chkParts==1)
  {
	  document.getElementById('edParts').value = my_array[0];
  }
  if(chkMisc==1)
  {
	  document.getElementById('edMisc').value = my_array[4];
  }
 
  //document.getElementById('edComputedTax').value = my_array[2];
  //document.getElementById('edComputedTax').value = 0;
  document.getElementById('edTotal').value = my_array[3];
  }
}

function GetXmlHttpObject()
{
if (window.XMLHttpRequest)
  {
  return new XMLHttpRequest();
  }
if (window.ActiveXObject)
  {
  return new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
return null;
}]]></property>
    <property name="Height">20</property>
    <property name="Left">710</property>
    <property name="Name">JSAJAX</property>
    <property name="Top">76</property>
    <property name="Width">135</property>
  </object>
  <object class="Edit" name="edComputedTax" >
    <property name="Color">#FFFFFF</property>
    <property name="Font">
        <property name="Align">taRight</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">840</property>
    <property name="Name">edComputedTax</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Text">0</property>
    <property name="Top">288</property>
    <property name="Visible">0</property>
    <property name="Width">55</property>
    <property name="jsOnKeyUp">edComputedTaxJSKeyUp</property>
  </object>
  <object class="Label" name="lbComputedlTax" >
    <property name="Caption">Tax</property>
    <property name="Color">#000000</property>
    <property name="Height">13</property>
    <property name="Left">994</property>
    <property name="Name">lbComputedlTax</property>
    <property name="ParentColor">0</property>
    <property name="Top">282</property>
    <property name="Visible">0</property>
    <property name="Width">75</property>
  </object>
  <object class="Label" name="lblTax" >
    <property name="Caption">%</property>
    <property name="Color">#000000</property>
    <property name="Height">13</property>
    <property name="Left">975</property>
    <property name="Name">lblTax</property>
    <property name="ParentColor">0</property>
    <property name="Top">282</property>
    <property name="Visible">0</property>
    <property name="Width">75</property>
  </object>
  <object class="Edit" name="edTax" >
    <property name="Height">21</property>
    <property name="Left">686</property>
    <property name="Name">edTax</property>
    <property name="Text">0</property>
    <property name="Top">288</property>
    <property name="Visible">0</property>
    <property name="Width">41</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">Attach File:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">687</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">105</property>
    <property name="Width">64</property>
  </object>
  <object class="HiddenField" name="hfType" >
    <property name="Height">18</property>
    <property name="Left">828</property>
    <property name="Name">hfType</property>
    <property name="Top">62</property>
    <property name="Width">71</property>
  </object>
  <object class="JTDivWindow" name="JTDivAccount" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Account</property>
    <property name="Height">251</property>
    <property name="Left">303</property>
    <property name="Name">JTDivAccount</property>
    <property name="Position">poBrowserCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">333</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox2" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox2</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listAccount" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edAccount" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelAccount" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">220</property>
        <property name="Name">btnDelAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">169</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelAccountJSClick</property>
      </object>
      <object class="Button" name="btnAddAccount" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">220</property>
        <property name="Name">btnAddAccount</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddAccountJSClick</property>
      </object>
    </object>
  </object>
  <object class="Label" name="Label2" >
    <property name="Autosize">1</property>
    <property name="Caption">Km/run</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">493</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">101</property>
    <property name="Width">50</property>
  </object>
  <object class="Edit" name="edKmRun" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">553</property>
    <property name="Name">edKmRun</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">98</property>
    <property name="Width">110</property>
    <property name="jsOnKeyUp">edKmRunJSKeyUp</property>
  </object>
  <object class="HiddenField" name="hfTrackBy" >
    <property name="Height">18</property>
    <property name="Left">424</property>
    <property name="Name">hfTrackBy</property>
    <property name="Top">17</property>
    <property name="Width">200</property>
  </object>
  <object class="HiddenField" name="hfStartOdometer" >
    <property name="Height">18</property>
    <property name="Left">228</property>
    <property name="Name">hfStartOdometer</property>
    <property name="Top">17</property>
    <property name="Width">200</property>
  </object>
  <object class="JTDivWindow" name="JTDivServiced" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Service Provider</property>
    <property name="Height">251</property>
    <property name="Left">393</property>
    <property name="Name">JTDivServiced</property>
    <property name="Position">poBrowserCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">337</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox3" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox3</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listServiced" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listServiced</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edServiced" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edServiced</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelServiced" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">220</property>
        <property name="Name">btnDelServiced</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">169</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelServicedJSClick</property>
      </object>
      <object class="Button" name="btnAddServiced" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">220</property>
        <property name="Name">btnAddServiced</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddServicedJSClick</property>
      </object>
    </object>
  </object>
  <object class="Label" name="Label12" >
    <property name="Caption">* = Required Fields</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#DD0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">15</property>
    <property name="Name">Label12</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">38</property>
    <property name="Width">115</property>
  </object>
  <object class="Label" name="lblordernum" >
    <property name="Caption">lblordernum</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">125</property>
    <property name="Name">lblordernum</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">52</property>
    <property name="Width">153</property>
  </object>
  <object class="Label" name="lblod" >
    <property name="Caption">lblod</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">351</property>
    <property name="Name">lblod</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">85</property>
    <property name="Width">153</property>
  </object>
  <object class="HiddenField" name="hfError" >
    <property name="Height">18</property>
    <property name="Left">228</property>
    <property name="Name">hfError</property>
    <property name="Width">128</property>
  </object>
  <object class="JTJavaScript" name="JSValidate" >
    <property name="Code"><![CDATA[function validateRequire(editBox, lblError)
{
 editValue = document.getElementById(editBox).value;
 //error = Number(document.getElementById('hfValidateError').value);
 if(editValue.length==0)
 {
  //alert('error');
  lblValue = document.getElementById(lblError).innerHTML = '&amp;darr; This field is required &amp;darr;';
  //alert(document.getElementById('hfValidateError').value); 
  //document.getElementById('hfValidateError').value = error + Number('1');
  //alert(document.getElementById('hfValidateError').value);
  //alert('error end');
 }
 else
 {
  lblValue = document.getElementById(lblError).innerHTML = '';
 }
}]]></property>
    <property name="Height">20</property>
    <property name="Left">330</property>
    <property name="Name">JSValidate</property>
    <property name="Width">180</property>
  </object>
  <object class="JTDivWindow" name="JTDivDescription" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Workorder Description</property>
    <property name="Height">251</property>
    <property name="Left">351</property>
    <property name="Name">JTDivDescription</property>
    <property name="Position">poBrowserCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">337</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox4" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox4</property>
      <property name="SiteTheme"></property>
      <property name="Top">32</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listDescription" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listDescription</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">43</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edDescription" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edDescription</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelDescription" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelDescription</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">169</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelDescriptionJSClick</property>
      </object>
      <object class="Button" name="btnAddDescription" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddDescription</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddDescriptionJSClick</property>
      </object>
    </object>
  </object>
  <object class="Image" name="imgInfo" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Cursor">crPointer</property>
    <property name="Height">18</property>
    <property name="Hint">More Info...</property>
    <property name="ImageSource">image/info.png</property>
    <property name="Left">210</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">imgInfo</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="Top">9</property>
    <property name="Width">18</property>
    <property name="jsOnClick">imgInfoJSClick</property>
  </object>
  <object class="JTDivWindow" name="JTDivInfo" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">About Work Summary</property>
    <property name="Height">154</property>
    <property name="Left">381</property>
    <property name="Name">JTDivInfo</property>
    <property name="SiteTheme"></property>
    <property name="Top">338</property>
    <property name="Width">297</property>
    <object class="JTGroupBox" name="JTGroupBox5" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">108</property>
      <property name="Left">11</property>
      <property name="Name">JTGroupBox5</property>
      <property name="SiteTheme"></property>
      <property name="Top">33</property>
      <property name="Width">275</property>
      <object class="Label" name="Label13" >
        <property name="Caption">This page allows you to record all work done and related expenses to your vehicles. Click on the Labor, Parts and Miscellaneous tabs to add expenses related to each account. The sum of each of the accounts will reflect on the total Charges / Billing.</property>
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">81</property>
        <property name="Left">11</property>
        <property name="Name">Label13</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">19</property>
        <property name="Width">254</property>
      </object>
    </object>
  </object>
  <object class="Label" name="Label3" >
    <property name="Autosize">1</property>
    <property name="Caption">Trouble:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">320</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">70</property>
    <property name="Width">50</property>
  </object>
  <object class="Edit" name="edTrouble" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">374</property>
    <property name="Name">edTrouble</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ReadOnly">1</property>
    <property name="TabOrder">3</property>
    <property name="Top">65</property>
    <property name="Width">289</property>
  </object>
  <object class="Button" name="btnTrouble" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">select trouble</property>
    <property name="Left">662</property>
    <property name="Name">btnTrouble</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">8</property>
    <property name="Top">65</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnTroubleJSClick</property>
  </object>
  <object class="HiddenField" name="hfTrouble" >
    <property name="Height">18</property>
    <property name="Left">374</property>
    <property name="Name">hfTrouble</property>
    <property name="Top">44</property>
    <property name="Width">91</property>
  </object>
  <object class="HiddenField" name="hfInitTrouble" >
    <property name="Height">18</property>
    <property name="Left">466</property>
    <property name="Name">hfInitTrouble</property>
    <property name="Top">69</property>
    <property name="Width">90</property>
  </object>
  <object class="CheckBox" name="chkComplete" >
    <property name="Caption">Complete</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">129</property>
    <property name="Name">chkComplete</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">34</property>
    <property name="Visible">0</property>
    <property name="Width">84</property>
  </object>
  <object class="Button" name="Button1" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Button1</property>
    <property name="Color">#000000</property>
    <property name="Height">25</property>
    <property name="Left">200</property>
    <property name="Name">Button1</property>
    <property name="ParentColor">0</property>
    <property name="Top">631</property>
    <property name="Visible">0</property>
    <property name="Width">75</property>
    <property name="jsOnClick">Button1JSClick</property>
  </object>
  <object class="ComboBox" name="cmbperformed" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items"><![CDATA[a:3:{s:10:&quot;--Select--&quot;;s:10:&quot;--Select--&quot;;s:6:&quot;vendor&quot;;s:6:&quot;Vendor&quot;;s:8:&quot;employee&quot;;s:8:&quot;Employee&quot;;}]]></property>
    <property name="Left">121</property>
    <property name="Name">cmbperformed</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">154</property>
    <property name="Width">161</property>
    <property name="jsOnChange">cmbperformedJSChange</property>
  </object>
  <object class="HiddenField" name="hfRand" >
    <property name="Height">18</property>
    <property name="Left">424</property>
    <property name="Name">hfRand</property>
    <property name="Top">33</property>
    <property name="Width">200</property>
  </object>
  <object class="HiddenField" name="hiddenReminder" >
    <property name="Height">18</property>
    <property name="Left">698</property>
    <property name="Name">hiddenReminder</property>
    <property name="Width">200</property>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">878</property>
        <property name="Top">44</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
